package org.jeecg.modules.demo.Sporder.service;

import org.jeecg.modules.demo.Sporder.entity.Gordergx;
import org.jeecg.modules.demo.Sporder.entity.Gxcp;
import org.jeecg.modules.demo.Sporder.entity.Gxwuliao;
import org.jeecg.modules.demo.Sporder.entity.Gdcp;
import org.jeecg.modules.demo.Sporder.entity.Sporder;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 生产订单
 * @Author: jeecg-boot
 * @Date:   2021-04-23
 * @Version: V1.0
 */
public interface ISporderService extends IService<Sporder> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(Sporder sporder,List<Gordergx> gordergxList,List<Gxcp> gxcpList,List<Gxwuliao> gxwuliaoList,List<Gdcp> gdcpList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(Sporder sporder,List<Gordergx> gordergxList,List<Gxcp> gxcpList,List<Gxwuliao> gxwuliaoList,List<Gdcp> gdcpList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
